package com.alex.core.contants.enums;

/**
 * @author: xc
 * @ClassName: TenantScopeEnum
 * @Date: 2019/10/29 13:36
 * @Description: 查询租户信息接口需要获取的信息范围
 */
public enum TenantScopeEnum {
    TENANT_BASE(0,"获取租户的基础信息"),
    TENANT_ATTRIBUTION_RANGE(1,"查询租户的归属范围"),
    TENANT_SORT_CHILD(2,"查询租户的所有下级,需要排序"),
    TENANT_CHILD(3,"查询租户的所有下级不需要排序");

    private Integer code;
    private String desc;

    TenantScopeEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
